package com.clss.commandhelper.function.videoroom;

import java.io.Serializable;
import java.util.List;

/**
 * Created by LiuV on 2017/6/19.
 */

public class CreateChatEntity implements Serializable{

    /**
     * id : 374f29a0-54b8-11e7-b8eb-317a50987ecc
     * name : 实时报警
     * invitee : ["34a3b2e0-1a87-11e7-9f92-e125d56ab9b5"]
     * creator : {"userId":"34a3b2e0-1a87-11e7-9f92-e125d56ab9b5"}
     * inviter : {"userId":"34a3b2e0-1a87-11e7-9f92-e125d56ab9b5"}
     */

    private String id;
    private String name;
    private CreatorBean creator;
    private InviterBean inviter;
    private List<String> invitee;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CreatorBean getCreator() {
        return creator;
    }

    public void setCreator(CreatorBean creator) {
        this.creator = creator;
    }

    public InviterBean getInviter() {
        return inviter;
    }

    public void setInviter(InviterBean inviter) {
        this.inviter = inviter;
    }

    public List<String> getInvitee() {
        return invitee;
    }

    public void setInvitee(List<String> invitee) {
        this.invitee = invitee;
    }

    public static class CreatorBean implements Serializable{
        public CreatorBean(String userId) {
            this.userId = userId;
        }

        /**
         * userId : 34a3b2e0-1a87-11e7-9f92-e125d56ab9b5
         */

        private String userId;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }

    public static class InviterBean implements Serializable{
        public InviterBean(String userId) {
            this.userId = userId;
        }

        /**
         * userId : 34a3b2e0-1a87-11e7-9f92-e125d56ab9b5
         */

        private String userId;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }
}
